<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
	<link rel="stylesheet" th:href="@{/webjars/layui/css/layui.css}">
</head>
<body>
	<form class="layui-form" id="updateForm" th:action="@{'/customer'}" th:object="${customer}">
<!--		<div class="layui-form-item">-->
<!--			<label class="layui-form-label">员工编号</label>-->
<!--			<div class="layui-input-block">-->
<!--				<input type="text" name="customerId" placeholder="请输入员工编号" autocomplete="off"-->
<!--					   class="layui-input" lay-verify="required" maxlength="50" th:value="*{customerId}">-->
<!--			</div>-->
<!--		</div>-->
<!--		<input type="hidden" name="customerId" th:value="*{customerId}">-->
		<div class="layui-form-item">
			<label class="layui-form-label">姓名</label>
			<div class="layui-input-block">
				<input type="hidden" name="customerId" th:value="*{customerId}">
				<input type="text" name="name" placeholder="请输入姓名"
					   autocomplete="off" class="layui-input" lay-verify="required" maxlength="50" th:value="*{name}">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">所属部门</label>
			<div class="layui-input-block">
				<input type="text" name="section" placeholder="请输入部门名称" autocomplete="off"
					   class="layui-input" lay-verify="required" maxlength="50" th:value="*{section}">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">岗位名称</label>
			<div class="layui-input-block">
				<input type="text" name="station" placeholder="请输入岗位名称" autocomplete="off"
					   class="layui-input" lay-verify="required" maxlength="50" th:value="*{station}">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">性别</label>
			<div class="layui-input-block">
				<input type="text" name="sex" placeholder="请输入性别" autocomplete="off"
					   class="layui-input" lay-verify="required" maxlength="50" th:value="*{sex}">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">手机号码</label>
			<div class="layui-input-block">
				<input type="text" name="phone" placeholder="请输入手机号码"
					   autocomplete="off" class="layui-input" lay-verify="phone" maxlength="11" th:value="*{phone}">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">电脑IP</label>
			<div class="layui-input-block">
				<input type="text" name="computerIp" placeholder="请输入电脑IP"
					   autocomplete="off" class="layui-input" maxlength="100" th:value="*{computerIp}">
			</div>
		</div>
		<div class="layui-form-item">
			<div class="layui-input-block">
				<button class="layui-btn" lay-submit lay-filter="updateSubmit">立即提交</button>
				<button type="reset" class="layui-btn layui-btn-primary">重置</button>
			</div>
		</div>
	</form>
</body>
</html>
